<?php
$str=" ";
$a=1;
$b=2;
function Sum(){
global 	$a,$b;
$c=$a+$b;
$str=$c;
}
Sum();
echo $str;